/*
package com.bestom.producetest.utils;

import android.os.IBinder;
import android.os.RemoteException;
import android.os.storage.StorageManager;
import android.util.Log;

import java.lang.reflect.Method;

*/
/**
 * Created by momobile on 2014-12-17.
 *//*

public class Utils {
    static IMountService iMountService;
    static StorageManager mStorageManager;

    static {
        Log.v("DWXD", android.os.Environment.getExternalStorageDirectory().toString());
        try {
            Method method = Class.forName("android.os.ServiceManager").getMethod("getService", String.class);
            IBinder binder = (IBinder) method.invoke(null, "mount");
            iMountService = IMountService.Stub.asInterface(binder);
            mStorageManager.u
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public Utils() {
    }

    static void unMount() {
        try {
            iMountService.unmountVolume(android.os.Environment.getExternalStorageDirectory().toString(), true, true);
        } catch (RemoteException e) {
            e.printStackTrace();
        }
    }

    static void mount(){
        try {
            iMountService.mountVolume(android.os.Environment.getExternalStorageDirectory().toString());
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
*/
